package com.funsport.dto.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * Web管理后台登录请求
 */
@Data
@Schema(description = "Web登录请求")
public class WebLoginRequest {

    @NotBlank(message = "用户名不能为空")
    @Schema(description = "用户名（手机号或邮箱）", required = true)
    private String username;

    @NotBlank(message = "密码不能为空")
    @Schema(description = "密码", required = true)
    private String password;
}

